﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace kxcxw.Data.Entities
{
    public class Feedback
    {
        /// <summary>
        /// 自增主键
        /// </summary>
        public long FeedbackId { get; set; }

        public string UserID { get; set; }

        [Required(ErrorMessage="亲，输入下您的称呼吧(姓名或昵称都可以哈)")]
        [Display( Name= "您的称呼")]
        public string UserName { get; set; }

        /// <summary>
        /// 联系信息
        /// </summary>
        [Required(ErrorMessage = "亲，留个联系方式吧(QQ或Email都OK)")]
        [Display(Name="联系方式")]
        public string ContactInfo { get; set; }

        /// <summary>
        /// 反馈内容
        /// </summary>
        [Required(ErrorMessage = "请写一下您的宝贵建议吧，求您了。")]
        [Display(Name="内容")]
        public string FeedbackContent { get; set; }

        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 用户地址或ID
        /// </summary>
        public string UserAddr { get; set; }

    }//class
}
